package org.example.ba03;

public class SomeServiceImpl implements SomeService {

    @Override
    public void doSome(String name, Integer age) {
        /*给doSome增加功能*/
        System.out.println("目标方法doSome()");
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("目标方法doOther()");
        return "return doOther";
    }

    @Override
    public Student doOther2(String name, Integer age) {
        return new Student("lisi",157);
    }

    @Override
    public String doFirst(String name, Integer age) {
        System.out.println("doFirst执行");
        return "doFirst的返回值";
    }
}
